package cn.yuan.xiaoyu.testmodule.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import cn.yuan.xiaoyu.R;

/**
 * Created by yukuoyuan on 2017/5/13.
 */

public class TestDialogFragment extends DialogFragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_test_dialog, container);
        getDialog().setTitle("看到标题了没");
        return view;
    }
}
